package com.management.vtribe.mapper;

import com.management.vtribe.Bean.Category;

import java.util.List;

public interface CategoryMapper {
    List<Category> getAllCategory();
    List<Category> getSomeCategory(int start,int num);
    int getCountOfCategory();
    int insertCategory(String name);
    int updateCategoryById(int id,String name);
    int deleteCategoryById(int[] ids);
    int updateCategoryByName(String name);
}
